<?php

define('SUB_DOMAIN', 'm');
return [
    'parse_str' => [
        '__MOBILE__' => '/public/mobile', // 更改默认的/Public 替换规则
    ],
    'HTML_CACHE_ON' => true, // 开启静态缓存
    'HTML_CACHE_TIME' => 3600, // 全局静态缓存有效期（秒）
    'HTML_FILE_SUFFIX' => '.html', // 设置静态缓存文件后缀
    'HTML_CACHE_RULES' => array(
        //  '*' => array('{$_SERVER.REQUEST_URI|md5}'),
        'Index:index' => array('mobile/index'),
        'Linesort:line_show' => array('mobile/{$_SERVER.REQUEST_URI|md5}'),
        'Linesort:mudidi' => array('mobile/{$_SERVER.REQUEST_URI|md5}'),
        'Linesort:day' => array('mobile/{$_SERVER.REQUEST_URI|md5}'),
        'Line:index' => array('mobile/trip{id}'),
    ),
    // 默认跳转页面对应的模板文件
    'default_filter' => ['htmlspecialchars'],
    'empty_controller' => 'Error',
    
];
